import http from "./request.ts"
// /mall-admin/subject/list 根据专题名称分页获取专题
export const productCategoryListWithChildren = (params: ISubjectListParams): RES<ISubjectListModel[]> => http.get("/mall-admin/subject/list", { params })
// productCategory/list/withChildren 查询所有一级分类及子分类
export const WithChildren = (): RES<IWithChildrenR[]> => http.get("/productCategory/list/withChildren")

